package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.SysRole;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Repository
public interface SysRoleMapper extends Mapper<SysRole> {

    //后台角色列表
    List<SysRole> getList(Map map);

    //后台添加
    int add(SysRole role);
}